<head>
	<link rel="stylesheet" href="assets/css/review-view.css">
</head>

<div class='c-box-600 c-box c-box-left' id='reviewview'>
 <h3>Posts by <?php echo $author['name']; ?></h3>

 <?php
		$ctr = 1;
		foreach($items as $x)
		{
			
			if($x['post_type']!="todayinrock" && $x['post_type']!="system"){	
							
						?>
		
							<li>
							   <span class="av-imageholder">
							   		<a href='<?PHP echo $x['post_type']."/".$x['id'];?>/<?PHP echo csq($x["title"]);?>' title="<?PHP  echo strip_tags($x['secondary']);?>">
							   			<img src="a/show-resized.php?file=<?PHP echo $x['image'];?>&x=200&y=100" height="100" width="200" alt="<?PHP  echo $x['title'];?>">
							   		</a>	
							   </span>
								<span class="av-text">
									<span class="av-text-title">
									
										<a href='<?PHP echo $x['post_type']."/".$x['id'];?>/<?PHP echo csq($x["title"]);?>' title="<?PHP  echo strip_tags($x['secondary']);?>"><?PHP  echo $x['title']." ";?></a>(<?PHP echo $x['post_type']?>)
								    </span>
								    <span class="av-text-content">
								    <?PHP
								     	$paragraph = explode (' ', $x['secondary']);
  										$paragraph = array_slice ($paragraph, 0, 15);
  										$paragraph = implode (' ', $paragraph);
								    	echo $paragraph;?>
								    </span>
								</span>
								
							</li>
						
							
						
							
						<?php	
							echo "<hr>";
						$ctr++;
		          }
       
		}
	   
		?>

 
</div>

<div class='c-box-headline c-box-300 ad-med-300-250 c-box-right'>
        <?PHP

        global $conf;
        $ad_m = new ads();
        $ad_m->zone=5;
        $ad_m->category=$conf->qm[1];
        $ad_m->serve_image_ad();
        ?>

</div>
<div class='c-box c-box-300 c-box-right' id='more-authors'>
		<h3>Other Posts From</h3>
		<?PHP
		foreach($authors as $x)
		{
			
				
					
				?>

					<li>
						<a href='allview/<?PHP echo $parent['id'];?>?aid=<?PHP echo $x['id'] ?>' ><?PHP  echo $x['name']." ";?></a>
						
					</li>
					<hr />
				<?PHP
			


		}
	
		?>
	
	</div>
<div class='c-box c-box-300 c-box-right c-box-latest-videos' id="r-latest-videos">
		<h3>What's New</h3>
		<?PHP
		$items=0;

		foreach($allview->videos as $x)
		{

			if($items <= 2 && !empty($x['title']) && ($x['type']=='video') )
			{


				?>

					<li>

									<div class='c-box-latest-item-text-bida'><a href='play/<?PHP echo $x["id"];?>/<?PHP echo csq($x["title"]);?>' class="popoutplayer c-box-latest-link" ><?PHP  echo $x['title']."<br />";?></a>
									</div>
							<div class='c-box-latest-item-image' style="background-image:url('<?PHP echo ap($x['thumb']);?>');">
								<a href='play/<?PHP echo $x["id"];?>/<?PHP echo csq($x["title"]);?>' class="popoutplayer">
									<img src="assets/images/play-mini.png" width="60" height="24" alt="Play Mini">
								</a>
							</div>





					</li>
				<?PHP
				$items++;
			}


		}

		?>
	
	</div>

